package example.bill.com.jnilearn;

import android.util.Log;

import org.greenrobot.eventbus.EventBus;

/**
 * 处理native层的事务，并刷新到UI层来
 * */
public class JNIProcessor {

    private static final String TAG ="JNILearn";

    public JNIProcessor(){
    }

    public static void nativeCallbackFunc(EventInfo eventInfo){
        Log.i(TAG," native call function call thread " + Thread.currentThread().getId());
        EventBus.getDefault().post(eventInfo);
    }
}
